package com.model;

import java.io.Serializable;

public class Student implements Serializable {

	private int id;
	//学号
	private String account;
	private String name;
	private String sex;
	private String from;
    private String birth;
	private String age;
	//社会地位
	private String status;
    //专业班级
    private String major;
	private String college;
    private String password;

    public Student() {  }

    public Student(int id, String account, String name, String sex, String from, String birth, String age, String status, String major, String college, String password) {
        this.id = id;
        this.account = account;
        this.name = name;
        this.sex = sex;
        this.from = from;
        this.birth = birth;
        this.age = age;
        this.status = status;
        this.major = major;
        this.college = college;
        this.password = password;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age='" + age + '\'' +
                ", from='" + from + '\'' +
                ", status='" + status + '\'' +
                ", college='" + college + '\'' +
                ", major='" + major + '\'' +
                ", birth='" + birth + '\'' +
                '}';
    }
}
